package com.company.servicebase.constant;

public class OrderConstant {

    public enum orderStatusConstant {
        CREATED(0,"未支付"),FINISH(1,"已支付");

        private int code;
        private String msg;

        orderStatusConstant(int code,String msg) {
            this.code = code;
            this.msg = msg;
        }

        public int getCode() {
            return code;
        }

        public String getMsg() {
            return msg;
        }
    }

    public enum orderPayConstant {

        WX(1, "微信"), ALIPAY(2, "支付宝");

        private int code;
        private String msg;

        orderPayConstant(int code,String msg) {
            this.code = code;
            this.msg = msg;
        }

        public int getCode() {
            return code;
        }

        public String getMsg() {
            return msg;
        }
    }

}
